with v8, V8.Class_Value;
package V8.Class_Primitive is
   type Primitive (<>) is new v8.Class_Value.Value with private;
   type Pointer is access Primitive;
   -- The superclass of primitive values.  See ECMA-262 4.3.2.

   function Constant_Null return Pointer;
   -- js : null

   function Constant_Undefined return Pointer;
   -- js : undefined



private
   type Primitive is new V8.Class_Value.Value with null record;

   pragma Import (CPP, Constant_Null, "_ZN2v84NullEv");
   pragma Import (CPP, Constant_Undefined, "_ZN2v89UndefinedEv");

end V8.Class_Primitive;
